package com.miracle.mapper;

import java.util.List;
import java.util.Map;

import com.miracle.model.EggOrd;

public interface EggOrdMapper {

	public Map<String, String> getDataByPK(Map<String, String> map);	
	
	public List<Map<String, String>> getAllOrd();

	public int update(Map<String, String> para);
	
	public int create(Map<String, String> para);
	
	public int delete(String ordId, String itmId);
	
	public boolean batchSave(List<EggOrd> list);
	
	public boolean batchInsert(List<EggOrd> list);
	
	public boolean headInsert(String nm, String src, String ordId, String tel);
	
	public int updateHead(Map<String, String> para);
}
